package com.love.netty.core.packet.response;

import com.love.netty.core.packet.Packet;
import com.love.netty.model.Session;
import lombok.Data;

import static com.love.netty.core.interfaces.Command.GROUP_MESSAGE_RESPONSE;

/**
 * @ClassName: GroupMessageResponsePacket
 * @Description:
 * @Author: wuj
 * @Date: 2021-06-25 16:25
 **/
@Data
public class GroupMessageResponsePacket extends Packet {

    private String message;

    private String fromGroupId;

    private Session fromUser;

    @Override
    public Byte getCommand() {
        return GROUP_MESSAGE_RESPONSE;
    }
}
